package com.zdkj.subway.check.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.check.entity.SwStInputPassengerWorkOther;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 其他相关数据录入
 */
@Mapper
public interface SwStInputPassengerWorkOtherMapper extends BaseMapper<SwStInputPassengerWorkOther> {
    //其他相关数据录入
    List<Map<String,Object>> getSwStInputPassengerWorkOther(@Param("param") Map<String, String> param);
    //查找 其他相关数据录入表的data_type=2和3的所有数据  以及data_type=1,并且happen_cause=2 和5 的数据
    List<Map<String,Object>> getSwStInputPassengerWorkOtherAmount(@Param("param") Map<String, String> param);
    //修改其他相关数据录入
    Integer updateSwStInputPassengerWorkOther(@Param("param") Map<String, String> param);
}
